5
|
How do I put a picture on the control's background

OleObject oScrollBar
oScrollBar = ole_1.Object
oScrollBar.Picture = oScrollBar.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oScrollBar.VisiblePart(640,false)
oScrollBar.BackColor = -2147483644 /*0x80000004*/
|
4
|
How can I change the size of control's font

OleObject oScrollBar
oScrollBar = ole_1.Object
oScrollBar.Font.Size = 12
oScrollBar.ForeColor = RGB(255,0,0)
oScrollBar.Caption(256,"<img>0</img>thumb")
|
3
|
How do I change the control's font

OleObject oScrollBar
oScrollBar = ole_1.Object
oScrollBar.Font.Name = "Tahoma"
oScrollBar.ForeColor = RGB(255,0,0)
oScrollBar.Caption(256,"<img>0</img>thumb")
|
2
|
How can I change the control's foreground color

OleObject oScrollBar
oScrollBar = ole_1.Object
oScrollBar.ForeColor = RGB(255,0,0)
oScrollBar.Caption(256,"<img>0</img>thumb")
|
1
|
How can I change the control's background color

OleObject oScrollBar
oScrollBar = ole_1.Object
oScrollBar.BackColor = RGB(0,255,0)
oScrollBar.VisiblePart(640,false)
|